package com.alibaba.bean;


import com.fasterxml.jackson.annotation.JsonProperty;

public class ValResult<T> {

    @JsonProperty(value = "errmsg")
    private String msg;
    @JsonProperty(value = "result")
    private boolean valSuccess;
    @JsonProperty(value = "data")
    private T valDetail;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isValSuccess() {
        return valSuccess;
    }

    public void setValSuccess(boolean valSuccess) {
        this.valSuccess = valSuccess;
    }

    public T getValDetail() {
        return valDetail;
    }

    public void setValDetail(T valDetail) {
        this.valDetail = valDetail;
    }

}
